package metier.service;

import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import metier.model.Profil;
import metier.repository.ProfilRepository;

@Stateless
public class AdministrationProfilsService {

    @EJB
    private ProfilRepository profilRepository;

    public AdministrationProfilsService() {
    }

    public List<Profil> lister() {
        return profilRepository.getAll();
    }

}
